home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / clang / cweb31.zip / CWEAV-PC.CH < prev    next >
Text File  |  1993-11-19  |  1KB  |  39 lines

  1. This is the change file for CWEB's CWEAVE under DOS
  2. (Contributed by Lee Wittenberg, March 1993)
  3. (Also includes workaround for compiler bug, November 1993,
  4.  contributed by Jorge Fernandez Arnaiz -- arnaiz@redvax1.dgsca.unam.mx)
  5.  
  6. Changes necessary for compiling with Borland C/C++
  7. Use compilation switches -mc -w-pro -Ff=5000
  8.  
  9. Note: The changes to section 4 are not necessary if using a compiler
  10. that allows >64K arrays.
  11.  
  12. @x section 1
  13. @d banner "This is CWEAVE (Version 3.1)\n"
  14. @y
  15. @d banner "This is CWEAVE (Version 3.1pc)\n"
  16. @z
  17.  
  18. @x section 4
  19. @d max_bytes 90000 /* the number of bytes in identifiers,
  20. @y
  21. @d max_bytes (unsigned)60000 /* the number of bytes in identifiers,
  22. @z
  23. @x
  24. @d max_refs 20000 /* number of cross-references; must be less than 65536 */
  25. @y
  26. @d max_refs 10000 /* number of cross-references; must be less than 65536 */
  27. @z
  28.  
  29. @x section 163
  30. @ @<Change |pp| to $\max...@>=
  31. @y
  32. @ @<Change |pp| to $\max...@>=
  33. #ifdef __MSDOS__
  34. if (d<0 && pp+d>pp) pp=scrap_base; /* segmented architecture caused wrap */
  35. else
  36. #endif
  37. @z
  38.  
  39.